package collections.list;

import java.util.HashSet;
import java.util.Set;

/**
 * @Author: ycy
 * @CreateDate: 2020/6/19 12:52
 */
public class HashSetDemo {

  public static void main(String[] args) {
    Set<String> set = new HashSet<>();
    for (int i = 0; i < 12000000;
         i++) {

      set.add("gsask_" + i);

    }
    while(true){
      try {
        Thread.sleep(100000);
      } catch (InterruptedException e) {
        e.printStackTrace();
      }
    }
  }

}
